<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <c:set var="basePath" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>wangEditor上传图片测试</title>
<style type="text/css">
.title{
	
}
#editor{
	width:800px;
	height:450px;
	border: 1px solid black;
	margin: 0px auto;
}
#operate{
	width:800px;
	margin: 0px auto;
}

</style>
<script type="text/javascript" src="resource/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="resource/js/wangEditor.min.js"></script>   
</head>
<body>
<h1 id="videoName" style="text-align: center;">wangEditor上传图片测试</h1>
<div id="editor" class="videoPlay">


</div>
<div id="operate">
	<p><b>图片存储位置：</b>.......\apache-tomcat-7.0.76\webapps\upload 文件夹中</p>
</div>
    <script type="text/javascript">  
    var E = window.wangEditor;
    var editor = new E('#editor')
    editor.customConfig.uploadImgServer = 'ajax/upLoad';
    editor.create(); 
    </script>  
</body>
</html>